<%@ page contentType="text/html;charset=utf-8" pageEncoding="utf-8" %>
<% String root = request.getContextPath() + "/"; %>
<%@ page import="view.DataList,dao.Score,dao.Score.Data" %>
<% request.setCharacterEncoding("utf-8"); %>
<form class="form-inline col-md-10" role="form" action="" method="post">
    <fieldset>
        <legend>添加成绩</legend>
        <input type="hidden" name="stud" value="<%= request.getParameter("id") %>" />
        <div class="form-group">
            <input type="text" name="subject" class="form-control" id="subject" value="" placeholder="科目名" />
        </div>
        <div class="form-group">
            <input type="text" name="score" class="form-control" id="score" value="" placeholder="分数" />
        </div>
        <button type="submit" class="btn btn-primary">确定</button>
        <a class="btn btn-warning" href="<%= root %>/teacher/manager/score?id=<%= request.getParameter("id") %>">返回</a>
    </fieldset>
</form>
